// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.

.gallery-previews {
  padding: 0;
  margin: 0;
  position: relative;

  // mystery number
  height: 390px;

  &__item {
    .full-size();
    .fade-element(0.5s);
    display: block;
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;

    &.js-gallery {
      cursor: zoom-in;
      will-change: opacity;
    }
  }
}
